package com.csx.governance.traffic.sample.rocketmq.consumer;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @author cuisongxu
 * @date 2023/3/5 19:47
 */
@Configuration
@Data
public class Test {

    @Value("${test.name}")
    public String testName;

    public String test() {
        System.out.println(testName);
        return testName;
    }
}
